package com.pig4cloud.pig.demo.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.demo.feign.Entity.Fans;
import com.pig4cloud.pig.demo.feign.vo.FansVO;

/**
 * 粉丝逻辑业务处理接口
 * Created by caoxuel on 2020/10/19 13:46
 * @author caoxuel
 */
public interface FansService extends IService<Fans> {

    /**
     * 分页查询粉丝
     * @param page
     * @return
     */
    public IPage<FansVO> queryFansList(Page<?> page, Long id);

    /**
     * 分页查询关注的人
     * @param page
     * @return
     */
    public IPage<FansVO> queryFollowList(Page<?> page, Long id);
}
